package com.quanyan.club.entity.db;

import com.quanyan.common.utils.Limit;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class TbClubTaskParameterExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    protected int limitStart = 0;

    protected int limitEnd = 0;

    protected Limit limit;

    public TbClubTaskParameterExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void setLimitStart(int limitStart) {
        this.limitStart=limitStart;
    }

    public int getLimitStart() {
        return limitStart;
    }

    public void setLimitEnd(int limitEnd) {
        this.limitEnd=limitEnd;
    }

    public int getLimitEnd() {
        return limitEnd;
    }

    public void setLimit(Limit limit) {
        this.limit=limit;
    }

    public Limit getLimit() {
        return limit;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andTaskIdIsNull() {
            addCriterion("task_id is null");
            return (Criteria) this;
        }

        public Criteria andTaskIdIsNotNull() {
            addCriterion("task_id is not null");
            return (Criteria) this;
        }

        public Criteria andTaskIdEqualTo(Integer value) {
            addCriterion("task_id =", value, "taskId");
            return (Criteria) this;
        }

        public Criteria andTaskIdNotEqualTo(Integer value) {
            addCriterion("task_id <>", value, "taskId");
            return (Criteria) this;
        }

        public Criteria andTaskIdGreaterThan(Integer value) {
            addCriterion("task_id >", value, "taskId");
            return (Criteria) this;
        }

        public Criteria andTaskIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("task_id >=", value, "taskId");
            return (Criteria) this;
        }

        public Criteria andTaskIdLessThan(Integer value) {
            addCriterion("task_id <", value, "taskId");
            return (Criteria) this;
        }

        public Criteria andTaskIdLessThanOrEqualTo(Integer value) {
            addCriterion("task_id <=", value, "taskId");
            return (Criteria) this;
        }

        public Criteria andTaskIdIn(List<Integer> values) {
            addCriterion("task_id in", values, "taskId");
            return (Criteria) this;
        }

        public Criteria andTaskIdNotIn(List<Integer> values) {
            addCriterion("task_id not in", values, "taskId");
            return (Criteria) this;
        }

        public Criteria andTaskIdBetween(Integer value1, Integer value2) {
            addCriterion("task_id between", value1, value2, "taskId");
            return (Criteria) this;
        }

        public Criteria andTaskIdNotBetween(Integer value1, Integer value2) {
            addCriterion("task_id not between", value1, value2, "taskId");
            return (Criteria) this;
        }

        public Criteria andClubTypeIsNull() {
            addCriterion("club_type is null");
            return (Criteria) this;
        }

        public Criteria andClubTypeIsNotNull() {
            addCriterion("club_type is not null");
            return (Criteria) this;
        }

        public Criteria andClubTypeEqualTo(Integer value) {
            addCriterion("club_type =", value, "clubType");
            return (Criteria) this;
        }

        public Criteria andClubTypeNotEqualTo(Integer value) {
            addCriterion("club_type <>", value, "clubType");
            return (Criteria) this;
        }

        public Criteria andClubTypeGreaterThan(Integer value) {
            addCriterion("club_type >", value, "clubType");
            return (Criteria) this;
        }

        public Criteria andClubTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("club_type >=", value, "clubType");
            return (Criteria) this;
        }

        public Criteria andClubTypeLessThan(Integer value) {
            addCriterion("club_type <", value, "clubType");
            return (Criteria) this;
        }

        public Criteria andClubTypeLessThanOrEqualTo(Integer value) {
            addCriterion("club_type <=", value, "clubType");
            return (Criteria) this;
        }

        public Criteria andClubTypeIn(List<Integer> values) {
            addCriterion("club_type in", values, "clubType");
            return (Criteria) this;
        }

        public Criteria andClubTypeNotIn(List<Integer> values) {
            addCriterion("club_type not in", values, "clubType");
            return (Criteria) this;
        }

        public Criteria andClubTypeBetween(Integer value1, Integer value2) {
            addCriterion("club_type between", value1, value2, "clubType");
            return (Criteria) this;
        }

        public Criteria andClubTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("club_type not between", value1, value2, "clubType");
            return (Criteria) this;
        }

        public Criteria andActivityTargetCountIsNull() {
            addCriterion("activity_target_count is null");
            return (Criteria) this;
        }

        public Criteria andActivityTargetCountIsNotNull() {
            addCriterion("activity_target_count is not null");
            return (Criteria) this;
        }

        public Criteria andActivityTargetCountEqualTo(Integer value) {
            addCriterion("activity_target_count =", value, "activityTargetCount");
            return (Criteria) this;
        }

        public Criteria andActivityTargetCountNotEqualTo(Integer value) {
            addCriterion("activity_target_count <>", value, "activityTargetCount");
            return (Criteria) this;
        }

        public Criteria andActivityTargetCountGreaterThan(Integer value) {
            addCriterion("activity_target_count >", value, "activityTargetCount");
            return (Criteria) this;
        }

        public Criteria andActivityTargetCountGreaterThanOrEqualTo(Integer value) {
            addCriterion("activity_target_count >=", value, "activityTargetCount");
            return (Criteria) this;
        }

        public Criteria andActivityTargetCountLessThan(Integer value) {
            addCriterion("activity_target_count <", value, "activityTargetCount");
            return (Criteria) this;
        }

        public Criteria andActivityTargetCountLessThanOrEqualTo(Integer value) {
            addCriterion("activity_target_count <=", value, "activityTargetCount");
            return (Criteria) this;
        }

        public Criteria andActivityTargetCountIn(List<Integer> values) {
            addCriterion("activity_target_count in", values, "activityTargetCount");
            return (Criteria) this;
        }

        public Criteria andActivityTargetCountNotIn(List<Integer> values) {
            addCriterion("activity_target_count not in", values, "activityTargetCount");
            return (Criteria) this;
        }

        public Criteria andActivityTargetCountBetween(Integer value1, Integer value2) {
            addCriterion("activity_target_count between", value1, value2, "activityTargetCount");
            return (Criteria) this;
        }

        public Criteria andActivityTargetCountNotBetween(Integer value1, Integer value2) {
            addCriterion("activity_target_count not between", value1, value2, "activityTargetCount");
            return (Criteria) this;
        }

        public Criteria andSignupTargetCountIsNull() {
            addCriterion("signup_target_count is null");
            return (Criteria) this;
        }

        public Criteria andSignupTargetCountIsNotNull() {
            addCriterion("signup_target_count is not null");
            return (Criteria) this;
        }

        public Criteria andSignupTargetCountEqualTo(Integer value) {
            addCriterion("signup_target_count =", value, "signupTargetCount");
            return (Criteria) this;
        }

        public Criteria andSignupTargetCountNotEqualTo(Integer value) {
            addCriterion("signup_target_count <>", value, "signupTargetCount");
            return (Criteria) this;
        }

        public Criteria andSignupTargetCountGreaterThan(Integer value) {
            addCriterion("signup_target_count >", value, "signupTargetCount");
            return (Criteria) this;
        }

        public Criteria andSignupTargetCountGreaterThanOrEqualTo(Integer value) {
            addCriterion("signup_target_count >=", value, "signupTargetCount");
            return (Criteria) this;
        }

        public Criteria andSignupTargetCountLessThan(Integer value) {
            addCriterion("signup_target_count <", value, "signupTargetCount");
            return (Criteria) this;
        }

        public Criteria andSignupTargetCountLessThanOrEqualTo(Integer value) {
            addCriterion("signup_target_count <=", value, "signupTargetCount");
            return (Criteria) this;
        }

        public Criteria andSignupTargetCountIn(List<Integer> values) {
            addCriterion("signup_target_count in", values, "signupTargetCount");
            return (Criteria) this;
        }

        public Criteria andSignupTargetCountNotIn(List<Integer> values) {
            addCriterion("signup_target_count not in", values, "signupTargetCount");
            return (Criteria) this;
        }

        public Criteria andSignupTargetCountBetween(Integer value1, Integer value2) {
            addCriterion("signup_target_count between", value1, value2, "signupTargetCount");
            return (Criteria) this;
        }

        public Criteria andSignupTargetCountNotBetween(Integer value1, Integer value2) {
            addCriterion("signup_target_count not between", value1, value2, "signupTargetCount");
            return (Criteria) this;
        }

        public Criteria andEggForClubIsNull() {
            addCriterion("egg_for_club is null");
            return (Criteria) this;
        }

        public Criteria andEggForClubIsNotNull() {
            addCriterion("egg_for_club is not null");
            return (Criteria) this;
        }

        public Criteria andEggForClubEqualTo(Integer value) {
            addCriterion("egg_for_club =", value, "eggForClub");
            return (Criteria) this;
        }

        public Criteria andEggForClubNotEqualTo(Integer value) {
            addCriterion("egg_for_club <>", value, "eggForClub");
            return (Criteria) this;
        }

        public Criteria andEggForClubGreaterThan(Integer value) {
            addCriterion("egg_for_club >", value, "eggForClub");
            return (Criteria) this;
        }

        public Criteria andEggForClubGreaterThanOrEqualTo(Integer value) {
            addCriterion("egg_for_club >=", value, "eggForClub");
            return (Criteria) this;
        }

        public Criteria andEggForClubLessThan(Integer value) {
            addCriterion("egg_for_club <", value, "eggForClub");
            return (Criteria) this;
        }

        public Criteria andEggForClubLessThanOrEqualTo(Integer value) {
            addCriterion("egg_for_club <=", value, "eggForClub");
            return (Criteria) this;
        }

        public Criteria andEggForClubIn(List<Integer> values) {
            addCriterion("egg_for_club in", values, "eggForClub");
            return (Criteria) this;
        }

        public Criteria andEggForClubNotIn(List<Integer> values) {
            addCriterion("egg_for_club not in", values, "eggForClub");
            return (Criteria) this;
        }

        public Criteria andEggForClubBetween(Integer value1, Integer value2) {
            addCriterion("egg_for_club between", value1, value2, "eggForClub");
            return (Criteria) this;
        }

        public Criteria andEggForClubNotBetween(Integer value1, Integer value2) {
            addCriterion("egg_for_club not between", value1, value2, "eggForClub");
            return (Criteria) this;
        }

        public Criteria andEggForMemIsNull() {
            addCriterion("egg_for_mem is null");
            return (Criteria) this;
        }

        public Criteria andEggForMemIsNotNull() {
            addCriterion("egg_for_mem is not null");
            return (Criteria) this;
        }

        public Criteria andEggForMemEqualTo(Integer value) {
            addCriterion("egg_for_mem =", value, "eggForMem");
            return (Criteria) this;
        }

        public Criteria andEggForMemNotEqualTo(Integer value) {
            addCriterion("egg_for_mem <>", value, "eggForMem");
            return (Criteria) this;
        }

        public Criteria andEggForMemGreaterThan(Integer value) {
            addCriterion("egg_for_mem >", value, "eggForMem");
            return (Criteria) this;
        }

        public Criteria andEggForMemGreaterThanOrEqualTo(Integer value) {
            addCriterion("egg_for_mem >=", value, "eggForMem");
            return (Criteria) this;
        }

        public Criteria andEggForMemLessThan(Integer value) {
            addCriterion("egg_for_mem <", value, "eggForMem");
            return (Criteria) this;
        }

        public Criteria andEggForMemLessThanOrEqualTo(Integer value) {
            addCriterion("egg_for_mem <=", value, "eggForMem");
            return (Criteria) this;
        }

        public Criteria andEggForMemIn(List<Integer> values) {
            addCriterion("egg_for_mem in", values, "eggForMem");
            return (Criteria) this;
        }

        public Criteria andEggForMemNotIn(List<Integer> values) {
            addCriterion("egg_for_mem not in", values, "eggForMem");
            return (Criteria) this;
        }

        public Criteria andEggForMemBetween(Integer value1, Integer value2) {
            addCriterion("egg_for_mem between", value1, value2, "eggForMem");
            return (Criteria) this;
        }

        public Criteria andEggForMemNotBetween(Integer value1, Integer value2) {
            addCriterion("egg_for_mem not between", value1, value2, "eggForMem");
            return (Criteria) this;
        }

        public Criteria andMaxCountForClubIsNull() {
            addCriterion("max_count_for_club is null");
            return (Criteria) this;
        }

        public Criteria andMaxCountForClubIsNotNull() {
            addCriterion("max_count_for_club is not null");
            return (Criteria) this;
        }

        public Criteria andMaxCountForClubEqualTo(Integer value) {
            addCriterion("max_count_for_club =", value, "maxCountForClub");
            return (Criteria) this;
        }

        public Criteria andMaxCountForClubNotEqualTo(Integer value) {
            addCriterion("max_count_for_club <>", value, "maxCountForClub");
            return (Criteria) this;
        }

        public Criteria andMaxCountForClubGreaterThan(Integer value) {
            addCriterion("max_count_for_club >", value, "maxCountForClub");
            return (Criteria) this;
        }

        public Criteria andMaxCountForClubGreaterThanOrEqualTo(Integer value) {
            addCriterion("max_count_for_club >=", value, "maxCountForClub");
            return (Criteria) this;
        }

        public Criteria andMaxCountForClubLessThan(Integer value) {
            addCriterion("max_count_for_club <", value, "maxCountForClub");
            return (Criteria) this;
        }

        public Criteria andMaxCountForClubLessThanOrEqualTo(Integer value) {
            addCriterion("max_count_for_club <=", value, "maxCountForClub");
            return (Criteria) this;
        }

        public Criteria andMaxCountForClubIn(List<Integer> values) {
            addCriterion("max_count_for_club in", values, "maxCountForClub");
            return (Criteria) this;
        }

        public Criteria andMaxCountForClubNotIn(List<Integer> values) {
            addCriterion("max_count_for_club not in", values, "maxCountForClub");
            return (Criteria) this;
        }

        public Criteria andMaxCountForClubBetween(Integer value1, Integer value2) {
            addCriterion("max_count_for_club between", value1, value2, "maxCountForClub");
            return (Criteria) this;
        }

        public Criteria andMaxCountForClubNotBetween(Integer value1, Integer value2) {
            addCriterion("max_count_for_club not between", value1, value2, "maxCountForClub");
            return (Criteria) this;
        }

        public Criteria andMaxCountForMemIsNull() {
            addCriterion("max_count_for_mem is null");
            return (Criteria) this;
        }

        public Criteria andMaxCountForMemIsNotNull() {
            addCriterion("max_count_for_mem is not null");
            return (Criteria) this;
        }

        public Criteria andMaxCountForMemEqualTo(Integer value) {
            addCriterion("max_count_for_mem =", value, "maxCountForMem");
            return (Criteria) this;
        }

        public Criteria andMaxCountForMemNotEqualTo(Integer value) {
            addCriterion("max_count_for_mem <>", value, "maxCountForMem");
            return (Criteria) this;
        }

        public Criteria andMaxCountForMemGreaterThan(Integer value) {
            addCriterion("max_count_for_mem >", value, "maxCountForMem");
            return (Criteria) this;
        }

        public Criteria andMaxCountForMemGreaterThanOrEqualTo(Integer value) {
            addCriterion("max_count_for_mem >=", value, "maxCountForMem");
            return (Criteria) this;
        }

        public Criteria andMaxCountForMemLessThan(Integer value) {
            addCriterion("max_count_for_mem <", value, "maxCountForMem");
            return (Criteria) this;
        }

        public Criteria andMaxCountForMemLessThanOrEqualTo(Integer value) {
            addCriterion("max_count_for_mem <=", value, "maxCountForMem");
            return (Criteria) this;
        }

        public Criteria andMaxCountForMemIn(List<Integer> values) {
            addCriterion("max_count_for_mem in", values, "maxCountForMem");
            return (Criteria) this;
        }

        public Criteria andMaxCountForMemNotIn(List<Integer> values) {
            addCriterion("max_count_for_mem not in", values, "maxCountForMem");
            return (Criteria) this;
        }

        public Criteria andMaxCountForMemBetween(Integer value1, Integer value2) {
            addCriterion("max_count_for_mem between", value1, value2, "maxCountForMem");
            return (Criteria) this;
        }

        public Criteria andMaxCountForMemNotBetween(Integer value1, Integer value2) {
            addCriterion("max_count_for_mem not between", value1, value2, "maxCountForMem");
            return (Criteria) this;
        }

        public Criteria andActivityMinPriceIsNull() {
            addCriterion("activity_min_price is null");
            return (Criteria) this;
        }

        public Criteria andActivityMinPriceIsNotNull() {
            addCriterion("activity_min_price is not null");
            return (Criteria) this;
        }

        public Criteria andActivityMinPriceEqualTo(BigDecimal value) {
            addCriterion("activity_min_price =", value, "activityMinPrice");
            return (Criteria) this;
        }

        public Criteria andActivityMinPriceNotEqualTo(BigDecimal value) {
            addCriterion("activity_min_price <>", value, "activityMinPrice");
            return (Criteria) this;
        }

        public Criteria andActivityMinPriceGreaterThan(BigDecimal value) {
            addCriterion("activity_min_price >", value, "activityMinPrice");
            return (Criteria) this;
        }

        public Criteria andActivityMinPriceGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("activity_min_price >=", value, "activityMinPrice");
            return (Criteria) this;
        }

        public Criteria andActivityMinPriceLessThan(BigDecimal value) {
            addCriterion("activity_min_price <", value, "activityMinPrice");
            return (Criteria) this;
        }

        public Criteria andActivityMinPriceLessThanOrEqualTo(BigDecimal value) {
            addCriterion("activity_min_price <=", value, "activityMinPrice");
            return (Criteria) this;
        }

        public Criteria andActivityMinPriceIn(List<BigDecimal> values) {
            addCriterion("activity_min_price in", values, "activityMinPrice");
            return (Criteria) this;
        }

        public Criteria andActivityMinPriceNotIn(List<BigDecimal> values) {
            addCriterion("activity_min_price not in", values, "activityMinPrice");
            return (Criteria) this;
        }

        public Criteria andActivityMinPriceBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("activity_min_price between", value1, value2, "activityMinPrice");
            return (Criteria) this;
        }

        public Criteria andActivityMinPriceNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("activity_min_price not between", value1, value2, "activityMinPrice");
            return (Criteria) this;
        }

        public Criteria andRuleDescIsNull() {
            addCriterion("rule_desc is null");
            return (Criteria) this;
        }

        public Criteria andRuleDescIsNotNull() {
            addCriterion("rule_desc is not null");
            return (Criteria) this;
        }

        public Criteria andRuleDescEqualTo(String value) {
            addCriterion("rule_desc =", value, "ruleDesc");
            return (Criteria) this;
        }

        public Criteria andRuleDescNotEqualTo(String value) {
            addCriterion("rule_desc <>", value, "ruleDesc");
            return (Criteria) this;
        }

        public Criteria andRuleDescGreaterThan(String value) {
            addCriterion("rule_desc >", value, "ruleDesc");
            return (Criteria) this;
        }

        public Criteria andRuleDescGreaterThanOrEqualTo(String value) {
            addCriterion("rule_desc >=", value, "ruleDesc");
            return (Criteria) this;
        }

        public Criteria andRuleDescLessThan(String value) {
            addCriterion("rule_desc <", value, "ruleDesc");
            return (Criteria) this;
        }

        public Criteria andRuleDescLessThanOrEqualTo(String value) {
            addCriterion("rule_desc <=", value, "ruleDesc");
            return (Criteria) this;
        }

        public Criteria andRuleDescLike(String value) {
            addCriterion("rule_desc like", value, "ruleDesc");
            return (Criteria) this;
        }

        public Criteria andRuleDescNotLike(String value) {
            addCriterion("rule_desc not like", value, "ruleDesc");
            return (Criteria) this;
        }

        public Criteria andRuleDescIn(List<String> values) {
            addCriterion("rule_desc in", values, "ruleDesc");
            return (Criteria) this;
        }

        public Criteria andRuleDescNotIn(List<String> values) {
            addCriterion("rule_desc not in", values, "ruleDesc");
            return (Criteria) this;
        }

        public Criteria andRuleDescBetween(String value1, String value2) {
            addCriterion("rule_desc between", value1, value2, "ruleDesc");
            return (Criteria) this;
        }

        public Criteria andRuleDescNotBetween(String value1, String value2) {
            addCriterion("rule_desc not between", value1, value2, "ruleDesc");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}